package com.jmp.base;

import com.jmp.base.dto.*;
import one.stand.model.ResultModel;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

public interface CompanyApi {
    /**
     * 企业审核情况
     */
    @PostMapping("/company/audit/info")
    ResultModel<CompanyAuditInfoResponse> auditInfo(@RequestBody CompanyAuditInfoRequest request);

    /**
     * 企业-等级修改
     */
    @PostMapping("/company/level/update")
    ResultModel levelUpdate(@RequestBody CompanyLevelUpdateRequest request);

    /**
     * 企业-信息修改
     */
    @PostMapping("/company/edit")
    ResultModel edit(@RequestBody CompanyEditRequest request);

    /**
     * 企业-退出
     */
    @PostMapping("/company/quit")
    ResultModel quit(@RequestBody CompanyQuitRequest request);

    /**
     * 企业-转移
     */
    @PostMapping("/company/transfer")
    ResultModel transfer(@RequestBody CompanyTransferRequest request);

    /**
     * 企业-解散
     */
    @PostMapping("/company/dissolution")
    ResultModel dissolution(@RequestBody CompanyDissolutionRequest request);

    /**
     * 企业太阳码
     */
    @PostMapping("/company/card/update")
    ResultModel cardUpdate(@RequestBody CompanyCardUpdateRequest request);

    /******************        企业二维码          *****************************/
    @PostMapping("/company/card")
    ResultModel<CompanyCardResponse> card(@RequestBody CompanyCardRequest request);

    @PostMapping("/company/card/id")
    ResultModel<CompanyCardResponse> cardId(@RequestBody CompanyCardIdRequest request);

    @PostMapping("/company/suncode")
    ResultModel<CompanySuncodeResponse> suncode(@RequestBody CompanySuncodeRequest request);

    /**
     * 企业推送管理-头条、海报 权限
     */
    @PostMapping("/company/content/add")
    ResultModel contentAdd(@RequestBody CompanyContentAddRequest request);

    @PostMapping("/company/content/remove")
    ResultModel contentRemove(@RequestBody CompanyContentAddRequest request);

    @PostMapping("/company/content/push")
    ResultModel contentPush(@RequestBody CompanyContentAddRequest request);

    /**
     * 企业服务购买
     */
    @PostMapping("/company/service/add")
    ResultModel serviceAdd(@RequestBody CompanyServiceAddRequest request);

    /**
     * 企业执照审核-修改
     */
    @PostMapping("/company/license/update")
    ResultModel licenseUpdate(@RequestBody CompanyLicenseUpdateRequest request);

    /**
     * 企业执照审核-审核通过 拒绝
     */
    @PostMapping("/company/license/audit")
    ResultModel licenseAudit(@RequestBody CompanyLicenseAuditRequest request);

    /**
     * 企业执照审核-信息
     */
    @PostMapping("/company/license/info")
    ResultModel<CompanyLicenseInfoResponse> licenseInfo(@RequestBody CompanyLicenseInfoRequest request);

}
